
<% layout('../layouts/layout') %>
  <link rel="stylesheet" href="/css/ywxt.css">
  <div class="">
    <%- partial('../includes/breadCrumbs.ejs', {
    breadCrumbs:[
      {
      'name':'业务系统', // 名称
      'url':'javascript://'        // url
      }
    ]
  }) %>
      <div class="qm-layout-content-wrapper">
        <div class="business-system">
          <div>
            <div>
              <% for(var i = 0; i < systemList.length; i++) { %>
                <% var item = systemList[i] %>
                  <div class="system-item" style="position: relative;">
                    <div class="system_tools hide">
                        <!-- <a data-phone-view="/wechat/review.html?type=news&amp;content=46" href="javascript:void(0)">预览</a>
                        <a data-modal="/wechat/news/push.html?id=46" href="javascript:void(0)">推送</a> -->
                        <a data-open="/wechat/news/edit.html?id=46" href="javascript:void(0)">修改</a>
                        <a data-system-del="<%= item.systemCode %>" data-system-name="<%= item.name %>" href="javascript:void(0)">删除</a>
                    </div>
                    <img width="100%" height="100%" alt="" src="/sso/ssoServiceSystem/getImage?fileName=<%= item.systemImage %>" style="position: absolute;">
                    <p>
                      <span class="title" title="<%= item.name %>"><%= item.name %></span>
                    </p>
                    <div class="operator">
                      <a href="./editMenv/edit.html?systemCode=S1001">
                    <span class="fl">编辑系统</span>
                  </a>
                      <a href="/bs/index.html?systemCode=S1001">
                    <span class="fr">进入系统</span>
                  </a>
                    </div>
                  </div>
                  <% } %>
                    <!--for249000594055-->
                    <!--ms-for-end:-->
                    <div id="addSystem" class="system-item system-item-add">
                      <p style="font-size: 40px; margin-top: 40px;"><i class="fa fa-plus"></i></p>
                      <p>新建业务系统</p>
                    </div>
                    <div style="display: none"></div>
            </div>
          </div>
        </div>

        <!-- Modal -->
        <div class="modal fade" id="system" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
          <div class="modal-dialog" role="document">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">新建业务系统</h4>
              </div>

              <div class="modal-body" id="addSystemFormWrap">
                <form role="form" id="addSystemForm" class="layui-form">
                  <div class="form-group has-feedback">
                    <label class="control-label">业务系统名称：</label>
                    <input style="margin-top: 10px;" type="test" name="name" class="form-control" placeholder="">
                    <i class="form-control-feedback glyphicon-ok" style="display: none;"></i>
                    <!--if-->
                  </div>
                  <div class="form-group has-feedback" change-class=" ">
                    <label class="control-label">业务系统描述：</label>
                    <input style="margin-top: 10px;" type="text" class="form-control" name="remark" placeholder="">
                    <i class="form-control-feedback glyphicon-ok" style="display: none;"></i>
                    <!--if-->
                  </div>
                  <div class="form-group has-feedback" change-class=" ">
                    <label class="control-label">业务系统背景图:</label>
                    <div style="margin-top: 10px;">
                      <span id="test1" for="ms-upload954644038743" class="ane-upload-select-card ane-upload-card-item">
                        <i class="fa fa-plus"></i>选择图片
                      </span>
                      <input type="hidden" name="systemImage" id="systemImage">
                    </div>
                  </div>
                  <div class="modal-footer">
                    <button data-bb-handler="save" type="submit" lay-submit lay-filter="formSystem" class="btn btn-primary">提交</button>
                    <button data-bb-handler="cancel" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="G_bid_localUpload" style="display: none;">
        <div id="i_select_files">
        </div>

        <div id="i_stream_files_queue">
        </div>
        <button type="button"  class="btn btn-primary" onclick="_s.upload();">开始上传</button>
      </div>

  </div>
  </div>
  <script type="text/html" id="addFormTpl">
    <div class="bootbox-body">
  </script>
  <% include ../layouts/layout.footer.ejs %>
  <script src="\libs\bootstrapvalidator-master\dist\js\bootstrapValidator.min.js"></script>
  <script src="\libs\bootstrapvalidator-master\dist\js\language\zh_CN.js"></script>
  <script src="/js/ywxt.js"></script>
